<app:aside-block class='aside-block-highlighted' heading='Portal' visibility-model='Room.asidePanels.view'>
<div>
<div class='object-properties-id'>
ID: {{Room.selectedObject._id}}
</div>
<div>
<label>Position:</label>
{{Room.selectedObject.x}}, {{Room.selectedObject.y}}
</div>
<div ng-if='Room.selectedObject.destination'>
<label>Destination:</label>
<a ng-href="#!{{'top.game-room' | routeSegmentUrlStateless:{room:Room.selectedObject.destination.room, shard:Room.selectedObject.destination.shard } }}" ng-if='Room.selectedObject.destination.shard'>
{{Room.selectedObject.destination.shard}} / {{Room.selectedObject.destination.room}}
</a>
<span ng-if='!Room.selectedObject.destination.shard'>
<a ng-href="#!{{'top.game-room' | routeSegmentUrlStateless:{room:Room.selectedObject.destination.room} }}">
{{Room.selectedObject.destination.room}}
</a>
({{Room.selectedObject.destination.x}}, {{Room.selectedObject.destination.y}})
</span>
</div>
<div ng-if='Room.selectedObject.destination &amp;&amp; Room.selectedObject.destination.shard'>
<label>Decay in:</label>
<span ng:if='!Room.selectedObject.decayTime'>
portal is stable yet
</span>
<span ng:if='Room.selectedObject.decayTime &amp;&amp; Room.selectedObject.decayTime &gt;= Room.gameTime'>
{{Room.selectedObject.decayTime - Room.gameTime}}
</span>
</div>
<ng-include src="'room-object-effects'"></ng-include>
</div>
</app:aside-block>
